package com.gsafety.wellsfort.dao.organization;

import com.gsafety.wellsfort.domain.dto.school.SchoolDTO;
import com.gsafety.wellsfort.domain.model.organization.School;
import com.gsafety.wellsfort.domain.vo.SchoolResultVO;

import java.util.List;

public interface SchoolDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(School record);

    int insertSelective(School record);

    School selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);

    List<School> selectByParam(SchoolDTO schoolDTO);

    List<School> list(SchoolDTO schoolDTO);

    List<School> getAllList();

    Integer count();
}